OpenFileDialog Constructor

Initializes the OpenFileDialog. Called during construction.
 

Parameters

objectTypes

Type: Array
ElementType: dundas.ObjectType
The object types that are going to be opened.
isSearchShown

Type: Boolean
(optional) Set to true if the search should be shown on the file explorer. Defaults to true.
Optional: True
projectId

Type: String
(optional) The default project they want to open in. Defaults to window.dundas.context.currentProjectId.
Optional: True
returnFile

Type: Boolean
(optional) Normally the open file dialog will just run the 'open' command when the user selects the node. If instead the file should just be returned, then this flag should be set to true.
Optional: True
hideSubentries

Type: Boolean
(optional) By default, children (sub-entries) are not shown beneath items. However, this can be bypassed if children are required.
Optional: True
selectFolder

Type: Boolean
(optional) By default, only files can be selected. If this is set try true, a folder must be selected.
Optional: True
allowSubentrySelection

Type: Boolean
(optional) By default, sub-entry selection is not allowed when sub entries are not shown (some files may still appear). Setting this to true will let them be select-able in this situation.
Optional: True
filterProjectFolderTypes

Type: Array
(optional) Filter the project root list.
Optional: True